package com.myway.service.ibe.command;

import com.travelsky.ibe.client.pnr.PnrManage;
import com.travelsky.ibe.exceptions.IBEException;

/**
 * Created by Administrator on 2018/1/19.
 * 改期,不需要换开票面
 */
public class ChangeAirSegmentDatePNRCommand extends BaseIBECommand {

    public void changeDate(String pnr) throws IBEException {//改期
        PnrManage pm = new PnrManage();
        this.configIBEClient(pm);
        //用旧的航段信息替换新的航段信息
        String result = pm.changeETktAirSeg(pnr, "sc4651", "21sep", "sc4651","23sep", "nn");
        System.out.println("PM:" + result);
    }
}
